#include "GameApp.h"
#include "DXTrace.h"

bool GameApp::Init() {
    return D3dApp::Init();
}
void GameApp::OnResize() {
    D3dApp::OnResize();
}
void GameApp::UpdateScene(float dt) {
    
}
void GameApp::DrawScene() {
    float color[]{ 0.1, 0.4, 0.5, 1.0 };
    pImmediateDeviceContext->ClearRenderTargetView(pRenderTargetView.Get(), color);
    pImmediateDeviceContext->ClearDepthStencilView(pStencilDepthView.Get(), D3D11_CLEAR_DEPTH | D3D11_CLEAR_STENCIL, 1.0, 0.0);
    HR(pSwapChain->Present(0, 0));
}
GameApp::~GameApp() = default;